﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CollegeReviewApp.DataModels
{
    public class Review
    {
        public int Id { get; set; }
        public int CollegeId { get; set; }
        public string Name { get; set; }
        public string Comment { get; set; }
        public int Rating { get; set; }
        public void SetProps(Review review)
        {
            this.CollegeId = review.CollegeId;
            this.Name = review.Name;
            this.Comment = review.Comment;
            this.Rating = review.Rating;
        }
    }
}
